<?php
session_start();
include(dirname(dirname(__FILE__))."/functions/inc/mydb.inc.php");
include(dirname(dirname(__FILE__))."/functions/inc/seguridad.php");

$db = new mydb();
//DIE();

if(is_numeric($_GET["id"])){
$db->rawData("UPDATE color SET color_eliminado=1 WHERE color_id=".$_GET["id"]);
header("Location:/index.php?acc=".$_GET["acc"]."&msg=3"); 
}
?>
